|
DX11 SET CBUFFER FLOAT
Sets a floating point value at the given offset of the specified constant buffer.
Make sure that you will not write out of the buffer's bounds; the size of a FLOAT is 4 bytes.
DX11 SET CBUFFER FLOAT cbuffer, offset, data
cbuffer Dword The constant buffer to set the data for.
offset Dword Offset from the start of the buffer to write the data to.
data Float The floating point value to write to the constant buffer.
This function does not return a value.
CONSTANTBUFFER Functions Menu
DX11 Function Categories
|